home *** CD-ROM | disk | FTP | other *** search
- Short: BumpRev-like utility
- Author: wiedmann@uni-tuebingen.de
- Uploader: wiedmann@uni-tuebingen.de
- Type: dev/misc
-
- This is a small little hack very similar to Commodore's BumpRev
- or Dice's UpRev. The difference is that SetRev does not need a
- special _rev.h file, instead it may scan a given source file
- for the current version and revision and modify it. In short:
- BumpRev for those who don't like too much different files.
-
-
-
- Usage: SetRev PROJECT/A,VERSION/N,FILE/K
-
- The given FILE (default: PROJECT_rev.h) will be searched for
- version and revision definitions and bumped to the next
- revision number.
-
- Example: SetRev SetRev FILE SetRev.c
-
- will scan the file SetRev.c for the following definitions and
- bumpt the current revision number:
- #define VERSION 1
- #define REVISION 1
- #define DATE "30.10.94"
- #define VERS "SetRev 1.1"
- #define VSTRING "SetRev 1.1 (30.10.94)"
- #define VERSTAG "\0$VER: SetRev 1.1 (30.10.94)"
-
-
- ============================= Archive contents =============================
-
- Original Packed Ratio Date Time Name
- -------- ------- ----- --------- -------- -------------
- 15596 9220 40.8% 30-Oct-94 18:03:38 SetRev
- 8245 2324 71.8% 30-Oct-94 18:03:16 SetRev.c
- 950 488 48.6% 30-Oct-94 18:06:14 SetRev.readme
- -------- ------- ----- --------- --------
- 24791 12032 51.4% 31-Oct-94 15:51:32 3 files
-